#ifndef BULLET_H
#define BULLET_H

#include "math.h"
#include "Sprite.h"

using namespace shapes;

namespace sprites
{
	class Bullet : public Sprite
	{
		Vector3D velocity;
	public:
		Bullet(Vector3D _pos, MatterType _type, float boundRadius);
		Bullet(Vector3D _pos, MatterType _type, float boundRadius, float scale);
		Bullet(Vector3D _pos, MatterType _type, float boundRadius, Vector3D velocity, float scale);
	    ~Bullet();

		//Building routines
		void build();
		void buildTop();
		void buildMiddle();
		void buildBottom();

		virtual BindingSphere getBindingSphere();
		virtual std::vector<BindingSphere> getBindingShapes();
		
		virtual void handleCollision(MatterType type, BindingSphere sphere);

		virtual void draw();
	};
}


#endif